package com.jt.www.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@ApiModel(description = "教育渠道,投保单列表, 查询结果, 封装实体")
public class AppForCaseVO {

    @ApiModelProperty(value = "投保单号")
    private String appCode;

    @ApiModelProperty(value = "投保日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date applicationDate;

    @ApiModelProperty(value = "保险起期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date polStartDate;

    @ApiModelProperty(value = "保险止期")
    @DateTimeFormat(pattern = "yyyy-MM-dd 23:59:59")
    @JsonFormat(pattern = "yyyy-MM-dd 23:59:59", timezone = "GMT+8")
    private Date polEndDate;

    @ApiModelProperty(value = "产品编码")
    private String productCode;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "被保险人名称")
    private String insuredName;

    @ApiModelProperty(value = "险种编码 zrx_1:责任险；ywx_1:意外险")
    private String categoryCode;

    @ApiModelProperty(value = "保单号")
    private String policyNo;

    @ApiModelProperty(value = "投保人名称")
    private String holderName;

    @ApiModelProperty(value = "保单保费")
    private String prem;

    @ApiModelProperty(value = "优惠后保费")
    private String afterPrem;

    @ApiModelProperty(value = "实付保费")
    private String actualPrem;

    public String getAppCode() {
        return appCode;
    }

    public void setAppCode(String appCode) {
        this.appCode = appCode;
    }

    public Date getApplicationDate() {
        return applicationDate;
    }

    public void setApplicationDate(Date applicationDate) {
        this.applicationDate = applicationDate;
    }

    public Date getPolStartDate() {
        return polStartDate;
    }

    public void setPolStartDate(Date polStartDate) {
        this.polStartDate = polStartDate;
    }

    public Date getPolEndDate() {
        return polEndDate;
    }

    public void setPolEndDate(Date polEndDate) {
        this.polEndDate = polEndDate;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getInsuredName() {
        return insuredName;
    }

    public void setInsuredName(String insuredName) {
        this.insuredName = insuredName;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public String getPolicyNo() {
        return policyNo;
    }

    public void setPolicyNo(String policyNo) {
        this.policyNo = policyNo;
    }

    public String getHolderName() {
        return holderName;
    }

    public void setHolderName(String holderName) {
        this.holderName = holderName;
    }

    public String getPrem() {
        return prem;
    }

    public void setPrem(String prem) {
        this.prem = prem;
    }

    public String getAfterPrem() {
        return afterPrem;
    }

    public void setAfterPrem(String afterPrem) {
        this.afterPrem = afterPrem;
    }

    public String getActualPrem() {
        return actualPrem;
    }

    public void setActualPrem(String actualPrem) {
        this.actualPrem = actualPrem;
    }
}
